﻿using System.Collections.Generic;
using System.Web.Mvc;
using Isaac.Joy.Menu.Module;

namespace Isaac.Joy.WebFramework.DtCms.Controllers
{
    public class MenusController : Controller
    {
        public ActionResult Tree(IEnumerable<IMenu> childrens, int level)
        {
            ViewBag.Level = level;
            return View(childrens);
        }

        public ActionResult Pop(IEnumerable<IMenu> childrens, int level)
        {
            ViewBag.Level = level;
            return View(childrens);
        }
    }
}
